package com.chenfan.magic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author troy
 */
@Data
@TableName("idc_datasource_census")
@ApiModel(value = "DatasourceCensus对象", description = "DatasourceCensus对象")
public class IdcDatasourceCensus implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "服务 id")
    private String serviceId;

    @ApiModelProperty(value = "数据源 id")
    private String datasourceId;

    @ApiModelProperty(value = "记录日期")
    private String recordDaily;

    @ApiModelProperty(value = "次数")
    private Long numSum;

    @ApiModelProperty(value = "最后一次记录时间")
    private Date recordNearlyTime;

}
